package mest.service.cxj;

import mest.VO.cxj.WarehouseSaveManytomanyRecordVO;
import mest.entity.warehousesave_manytomany_record;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WarehouseSaveManytomanyRecordService {

    /**
     * 出入库操作记录
     */
    int insertRecord(warehousesave_manytomany_record wsmr, String theirDb);

    /**
     * 根据仓库号查询出入库明细
     */
    List<WarehouseSaveManytomanyRecordVO> selectAllRecordByWfId(Integer page, Integer limit, Integer wfId, String theirDb);

    /**
     * 查询明细数量
     */
    Integer selectCountRecordByWfId(@Param("wfId") Integer wfId, @Param("theirDb") String theirDb);

}
